package com.shop.cereshop.app.tencent.im.model.redpacket;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @description: 红包领取记录VO
 * @author zdd
 * @date 2025/9/3 14:30
 * @version 1.0
 */
@ApiModel("红包领取记录VO")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class RedPacketReceiveRecordVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("领取记录ID")
    private String id;

    @ApiModelProperty("红包ID")
    private String packetId;

    @ApiModelProperty("领取单号，对应子红包分配单号")
    private String allocationNo;

    @ApiModelProperty("领取者ID")
    private String receiverId;

    @ApiModelProperty("领取者名称")
    private String receiverName;

    @ApiModelProperty("接收者头像")
    private String receiverHeadImage;

    @ApiModelProperty("领取金额（单位：元）")
    private BigDecimal amount;

    @ApiModelProperty("是否手气最佳：0-否 1-是（仅拼手气红包有效）")
    private Integer isLuckiest;

    @ApiModelProperty("领取时间")
    private LocalDateTime receiveTime;

}
